<?php

namespace Common\Model;

/**
 * php单列模式 
 * 
 * @author Administrator
 *        
 */
class StatusClassModel extends CommModel {

	//定义一个实例化的对象
	static  $ob = '';

	public  function __construct(){
		parent::__construct();
	}

	public static function model(){
		if(empty(self::$ob)){
			self::$ob = new AdClassModel();
		}
			
		return self::$ob;
	}

	//获取广告分类
	public function getadclass(){
		$info = $this->select();
		return $info;
	}
}